isThirdParty

open fun isThirdParty(): Boolean

Returns whether the cookie is set in a third-party context.

For example, if http://b.com/ which is embedded in http://a.com/ sets a cookie then this cookie is third-party. But if the cookie is set in the same domain then it is the same-site cookie.